﻿using Microsoft.Extensions.DependencyInjection;
using Puppy.DependencyInjection;
using System.Diagnostics.CodeAnalysis;

namespace Puppy
{
    public class ServiceCollectionAccessorContext : IServiceCollectionAccessor
    {
        public IServiceCollection Services { get; }

        public ServiceCollectionAccessorContext([NotNull] IServiceCollection services)
        {
            Check.NotNull(services, nameof(services));

            Services = services;
        }
    }
}
